//
//  UILabel+Extension.swift
//  weibosina
//
//  Created by zhangzhen on 16/6/5.
//  Copyright © 2016年 zhangzhen. All rights reserved.
//

import UIKit

extension UILabel{
    
    //便利构造函数
    convenience init(textTitle: String,textTitleColor: UIColor){
        
        //创建一个label
        self.init()
        text = textTitle
        textColor = textTitleColor
        textAlignment = NSTextAlignment.Center
        font = UIFont.systemFontOfSize(14)
        numberOfLines = 0
        
        
    }
    
    
}
